<!DOCTYPE html>
<html>
    <title>Chat Room</title>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
        <link type="text/css" rel="stylesheet" href="static/style.css" />
        <script defer src="static/jquery-3.3.1.min.js"></script>
        <script defer src="static/jquery.cookie.js"></script>
        <script defer src="socket.io/socket.io.js"></script>
        <script defer src="static/main.js"></script>
    </head>
    <body>
        <audio id="newMessage" autoplay="autoplay"></audio>
        <audio id="user" autoplay="autoplay"></audio>
        <div id="login" class="login" >
            <h1 id="title" class="title">Chat Room</h1>
            <input id="username" class="username" placeholder="请输入用户名..."/>
            <input id="loginbutton" class="loginbutton"  type="button" value="进入聊天室" />
        </div>
        <div id="chatWindow" class="chatWindow" style="display: none;"> 
            <div id="userListBox" class="userListBox"></div>
            <div id="chatBox" class="chatBox">
                <div id="chatBodyBox" class="chatBodyBox"></div>
                <div id="inputBox" class="inputBox">
                    <textarea id="inputText" class="inputText" placeholder="请在此输入..."></textarea>
                    <input id="sendbutton" class="sendbutton" type="button" value="发送" />
                    <input id="closebutton" class="closebutton" type="button" value="退出" />
                </div>
            </div>
            
        </div>
        
        
    </body>
</html>